
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>支付成功</title>
</head>
<!--头标-->
<link rel="shortcut icon" href="http://www.dragonjun.com/default.png">
<style>
    /*body{*/
        /*background-image: url("http://www.dragonjun.com/hdjimg/background.jpg") ;background-size:100%;background-repeat: no-repeat;*/
        /*width: 100%;*/
        /*height: 90%;*/
    /*}*/
    .body{
        height: 100%;
        width: auto;
        margin: 0 auto;
        border: 1px solid white;
        background-image: url("http://www.dragonjun.com/hdjimg/background.jpg") ;background-size:cover;background-repeat: no-repeat;

    }
    .body_info{
        width: 600px;
        height: 300px;
        margin:  0 auto;
        text-align: center;
        line-height: 50px;
        background: antiquewhite;
        border-radius: 10px;
        box-shadow:  0 0 10px #666;
        margin-top: 10%;
    }
    #b_bu{
        width: 150px;
        height: 50px;
        background: #52C627;
        text-align: center;
        font-size: 17px;
        color: white;
        margin: 5% auto;
        border-radius: 5px;
    }
    #b_bu:hover{
        cursor: pointer;
    }

</style>
<body>

    <div class="body">
        <div class="body_info">
            <div><img style="width: 30px; height: 30px; border-radius: 16px;vertical-align: middle"  src="http://www.dragonjun.com/hdjimg/pay_success.jpg" alt=""> <span style="font-size: 20px;margin-bottom: 5px ">订单支付成功</span>
            </div>
            <div>支付宝流水号  :  <span style="color: cornflowerblue">${order}</span></div>
            <div>实际支付金额  :  <span style="color:red;">${money}</span>  元</div>
            <div id="b_bu" title="立即返回" onclick="go_to() ">
                返回首页
           </div>
        </div>

    </div>

</body>
<script>
    function go_to() {
        location.href='http://www.dragonjun.com'
    }
    //定时器
   /* var count=10;
    window.setInterval( ()=>{
        if(count==0){
            location.href='http://www.dragonjun.com'
        }else {
            count--;
            var div=document.getElementById('b_bu');
            div.innerHTML=count+'秒后返回首页';
        }
    },1000)*/

</script>
</html>
